﻿using System.ComponentModel.DataAnnotations;

namespace B.S.DataBase.MyRead.API.DTOs
{
    public class RoleMenuDTO
    {
        /// <summary>
        /// 菜单编号
        /// </summary>
        public int MenuId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// 菜单地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 菜单父级编号
        /// </summary>
        public int PId { get; set; }

        public int RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// (角色逻辑删除)是否删除 true 是删 false 否未删
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 角色菜单关系表表主键
        /// </summary>
        public int RMId { get; set; }


    }
}
